package cn.cai.pethome.user.service;

import cn.cai.pethome.base.util.AjaxResult;
import cn.cai.pethome.user.domain.User;
import cn.cai.pethome.base.service.IBaseService;
import cn.cai.pethome.user.dto.UserDto;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiaocai
 * @since 2022-08-31
 */
public interface IUserService extends IBaseService<User> {

    /**
     * 获取短信验证码
     * @param userDto
     * @return
     */
    AjaxResult sendMobileCode(UserDto userDto);




    /**
     * 手机短信验证码注册
     * @param userDto
     * @return
     */
    void phoneRegister(UserDto userDto);
}
